Capture ERP Error Messages in Order Comment#63
Conversation
|
I am not fan of using Message - an order has 2 messages - Comment and CustomerComment which can both be part of checkout flow - and this code overwrites what is in the field. If having this information on the orderdebugging info is not enough, I propose to create either a specific field on the order IntegrationLastCommunicationMessage or whatever - or maybe a separate table with ERP communication history. |
The code Appends the error message to the existing Comment value, it doesn't overwrite the Comment field content |
No description provided.